/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package dal.dao;

import dal.entity.Student;

import java.util.List;

/**
 *
 * @author a'a'a
 */
public interface StudentDao {
    
    public boolean addStudent(Student stu);
    public boolean delStudentbyID(int id);
    public boolean updateStudent(Student stu);
    public Student getStudentbyID(int id);
    public Student getStudentbyNum(String num);
    public List<Student> getStudentbyName(String name);
    public List<Student> getAllStudent();
}
